Skip to content

Conversation

@adrianreber
Copy link
Contributor

Without this patch GCC 15 will create this error:

 In file included from ncmpidump.c:22:
 ncmpidump.h:19:7: error: cannot use keyword 'false' as enumeration constant
    19 | enum {false=0, true=1};
       |       ^~~~~
 ncmpidump.h:19:7: note: 'false' is a keyword with '-std=c23' onwards

Without this patch GCC 15 will create this error:

```
 In file included from ncmpidump.c:22:
 ncmpidump.h:19:7: error: cannot use keyword 'false' as enumeration constant
    19 | enum {false=0, true=1};
       |       ^~~~~
 ncmpidump.h:19:7: note: 'false' is a keyword with '-std=c23' onwards
```

Signed-off-by: Adrian Reber <[email protected]>
@adrianreber
Copy link
Contributor Author

Used in openhpc/ohpc#2128

@wkliao wkliao merged commit 2b48c9b into Parallel-NetCDF:master May 1, 2025
4 checks passed
@wkliao
Copy link
Member

wkliao commented May 1, 2025

Thanks for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants